<?php

namespace Swof\Http;

abstract class Request
{
    /**
     * @var string
     */
    protected $requestUri;

    /**
     * @var string
     */
    protected $method;

    /**
     * Note: 获取请求方式
     *
     * @return string
     * @author: Zhao Zhiqiang
     * @since: 2021/5/22 11:39
     */
    public function getMethod(): string
    {
        return $this->method;
    }

    /**
     * Note: 获取无 get 参数的访问地址 如 /favicon.ico
     *
     * @author: Zhao Zhiqiang
     * @since: 2021/5/22 11:39
     */
    public function getRequestUri(): string
    {
        return $this->requestUri;
    }
}